package com.app.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.app.entity.Answer;

public interface AnswerService {
    public List<Answer> getAnswerPager(@Param("skip") int skip, @Param("size") int size);

    public Answer getAnswerById(int id);

    public int getAnswerCount();

    public int insert(Answer entity);

    public int delete(int id);

    public int update(Answer entity);

    public List<Answer> getAllAnswer();

    public List<Answer> getByQid(int qid);
}
